﻿using Itech_Run.Application.Contracts.Shared.Dto;
using System.ComponentModel.DataAnnotations;

namespace Itech_Run.Sys.Application.Contracts.Dto
{
    public class SysRoleCreateDto : CustomCreateDto
    {
        [Required]
        [StringLength(50)]
        public string Name { get; set; }

        public bool IsActive { get; set; }

        [StringLength(200)]
        public string? Description { get; set; }

        public List<SysModuleButtonCreateDto> ModuleButtonList { get; set; } = new List<SysModuleButtonCreateDto>();


    }
}
